Use the wide character version of ImmGetCompositionString() here, too.
authorTor Lillqvist <tml@novell.com>
Thu, 3 Feb 2005 20:51:48 +0000 (20:51 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Thu, 3 Feb 2005 20:51:48 +0000 (20:51 +0000)
2005-02-03  Tor Lillqvist  <tml@novell.com>

* modules/input/gtkimcontextime.c (get_pango_attr_list): Use the
wide character version of ImmGetCompositionString() here,
too. (#165278, Takuro Ashie)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
modules/input/gtkimcontextime.c

index 3cb44a3d2a37ad9ef77127414fd0176a618fd543..1564d3fe844acef07ad0e32dc4b6d8c115534360 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-02-03  Tor Lillqvist  <tml@novell.com>
+
+       * modules/input/gtkimcontextime.c (get_pango_attr_list): Use the
+       wide character version of ImmGetCompositionString() here,
+       too. (#165278, Takuro Ashie)
+
 2005-02-03  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkmenu.c (gtk_menu_handle_scrolling): Don't do
index 3cb44a3d2a37ad9ef77127414fd0176a618fd543..1564d3fe844acef07ad0e32dc4b6d8c115534360 100644 (file)
@@ -1,3 +1,9 @@
+2005-02-03  Tor Lillqvist  <tml@novell.com>
+
+       * modules/input/gtkimcontextime.c (get_pango_attr_list): Use the
+       wide character version of ImmGetCompositionString() here,
+       too. (#165278, Takuro Ashie)
+
 2005-02-03  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkmenu.c (gtk_menu_handle_scrolling): Don't do
index 3cb44a3d2a37ad9ef77127414fd0176a618fd543..1564d3fe844acef07ad0e32dc4b6d8c115534360 100644 (file)
@@ -1,3 +1,9 @@
+2005-02-03  Tor Lillqvist  <tml@novell.com>
+
+       * modules/input/gtkimcontextime.c (get_pango_attr_list): Use the
+       wide character version of ImmGetCompositionString() here,
+       too. (#165278, Takuro Ashie)
+
 2005-02-03  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkmenu.c (gtk_menu_handle_scrolling): Don't do
index 833cf160b571880de4c8e52ce03e7c76feb7aec5..615e6a1f60df06b8d7228f6acfb040c3f79a71d9 100644 (file)
@@ -446,9 +446,9 @@ get_pango_attr_list (GtkIMContextIME *context_ime, const gchar *utf8str)
       /*
        *  get attributes list of IME.
        */
-      len = ImmGetCompositionStringA (himc, GCS_COMPATTR, NULL, 0);
+      len = ImmGetCompositionStringW (himc, GCS_COMPATTR, NULL, 0);
       buf = g_alloca (len);
-      ImmGetCompositionStringA (himc, GCS_COMPATTR, buf, len);
+      ImmGetCompositionStringW (himc, GCS_COMPATTR, buf, len);
 
       /*
        *  schr and echr are pointer in utf8str.